package xuegao.study.mall.repo.dao.ums;

import org.apache.ibatis.annotations.Param;
import xuegao.study.mall.common.model.ums.UmsResourceCategory;

import java.util.List;

public interface UmsResourceCategoryDao {

    List<UmsResourceCategory> list();

    int insert(UmsResourceCategory category);

    int update(UmsResourceCategory category);

    int deleteById(@Param("id") Long id);
}
